home *** CD-ROM | disk | FTP | other *** search
- 81
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Environment
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baEnvironment returns the value of an environment variable
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baEnvironment( Variable )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Variable is the name of the variable to get.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns the value of the variable, or an empty string if the variable doesnΓÇÖt exist.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set path = baEnvironment( "PATH" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- user := baEnvironment( "USERNAME" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- There are both system (available to all applications) and local (available only to the
- --- RECORDSEPARATOR ---
- current application) variables, and they may have the same name. This function will
- --- RECORDSEPARATOR ---
- work with both types of variables. It will first check if there is a local variable, if there
- --- RECORDSEPARATOR ---
- isnΓÇÖt then it will check for a system variable.